package com.chinags.system.report.domain;

import com.chinags.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chinags.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 检测报告基本表 t_jc_jcbg
 * 
 * @author liut
 * @date 2019-06-20
 */
public class TJcJcbg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 报告基本信息表主键 */
	private Long reportId;
	/** 报告名称 */
	@Excel(name = "报告名称")
	private String reportName;
	/** 报告编号 */
	@Excel(name = "报告编号")
	private String reportNumber;
	/** 受检单位 */
	@Excel(name = "受检单位")
	private String checkName;
	/** 项目名称 */
	@Excel(name = "项目名称")
	private String itemName;
	/** 项目地址 */
	private String itemAddress;
	/** 行业属性 */
	private String tradeProperty;
	/** 防雷级别 */
	private String thunderCategory;
	/** 检测周期 */
	private String searchCycle;
	/** 联系人 */
	private String contacts;
	/** 联系人电话 */
	private String contactsPhone;
	/** 检测年度 */
	private Date detectionYear;
	/** 检测日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name ="检测日期")
	private Date detectionDate;
	/** 检测有效期至 */
	@Excel(name = "检测有效期")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date detectionDateEnd;
	/** 检测结论 */
	@Excel(name = "检测结论")
	private String detectionVerdict;
	/** 检测机构id */
	@Excel(name = "检测机构社会统一代码")
	private String detectionId;
	/** 检测机构名称 */
	@Excel(name = "检测机构")
	private String detectionName;
	/** 创建日期 */
	private String createUser;
	/** 修改人 */
	private String updateUser;
	/**单位表id*/
	@Excel(name = "受检单位社会统一信用代码")
	private Long flzddwId;
	/**检测日期开始时间*/
	private Date startTime;
	/**检测日期结束时间*/
	private Date endTime;
	/**检测有效期开始时间*/
	private Date vaildStartTime ;
	/**检测有效期开始时间*/
	private Date vaildEndTime;
	/**检测机构名称*/
	private String agencyName;
	/**检测机构id*/
	private String code;

	public void setReportId(Long reportId) 
	{
		this.reportId = reportId;
	}

	public Long getReportId() 
	{
		return reportId;
	}
	public void setReportName(String reportName) 
	{
		this.reportName = reportName;
	}

	public String getReportName() 
	{
		return reportName;
	}
	public void setReportNumber(String reportNumber) 
	{
		this.reportNumber = reportNumber;
	}

	public String getReportNumber() 
	{
		return reportNumber;
	}
	public void setCheckName(String checkName) 
	{
		this.checkName = checkName;
	}

	public String getCheckName() 
	{
		return checkName;
	}
	public void setItemName(String itemName) 
	{
		this.itemName = itemName;
	}

	public String getItemName() 
	{
		return itemName;
	}
	public void setItemAddress(String itemAddress) 
	{
		this.itemAddress = itemAddress;
	}

	public String getItemAddress() 
	{
		return itemAddress;
	}
	public void setTradeProperty(String tradeProperty) 
	{
		this.tradeProperty = tradeProperty;
	}

	public String getTradeProperty() 
	{
		return tradeProperty;
	}
	public void setThunderCategory(String thunderCategory) 
	{
		this.thunderCategory = thunderCategory;
	}

	public String getThunderCategory() 
	{
		return thunderCategory;
	}
	public void setSearchCycle(String searchCycle) 
	{
		this.searchCycle = searchCycle;
	}

	public String getSearchCycle() 
	{
		return searchCycle;
	}
	public void setContacts(String contacts) 
	{
		this.contacts = contacts;
	}

	public String getContacts() 
	{
		return contacts;
	}
	public void setContactsPhone(String contactsPhone) 
	{
		this.contactsPhone = contactsPhone;
	}

	public String getContactsPhone() 
	{
		return contactsPhone;
	}

	public Date getDetectionYear() {
		return detectionYear;
	}

	public void setDetectionYear(Date detectionYear) {
		this.detectionYear = detectionYear;
	}

	public void setDetectionDate(Date detectionDate)
	{
		this.detectionDate = detectionDate;
	}

	public Date getDetectionDate() 
	{
		return detectionDate;
	}
	public void setDetectionDateEnd(Date detectionDateEnd) 
	{
		this.detectionDateEnd = detectionDateEnd;
	}

	public Date getDetectionDateEnd() 
	{
		return detectionDateEnd;
	}
	public void setDetectionVerdict(String detectionVerdict) 
	{
		this.detectionVerdict = detectionVerdict;
	}

	public String getDetectionVerdict() 
	{
		return detectionVerdict;
	}

	public String getDetectionId() {
		return detectionId;
	}

	public void setDetectionId(String detectionId) {
		this.detectionId = detectionId;
	}

	public void setDetectionName(String detectionName)
	{
		this.detectionName = detectionName;
	}

	public String getDetectionName() 
	{
		return detectionName;
	}
	public void setCreateUser(String createUser) 
	{
		this.createUser = createUser;
	}

	public String getCreateUser() 
	{
		return createUser;
	}
	public void setUpdateUser(String updateUser) 
	{
		this.updateUser = updateUser;
	}

	public String getUpdateUser() 
	{
		return updateUser;
	}

	public Long getFlzddwId() {
		return flzddwId;
	}

	public void setFlzddwId(Long flzddwId) {
		this.flzddwId = flzddwId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getVaildStartTime() {
		return vaildStartTime;
	}

	public void setVaildStartTime(Date vaildStartTime) {
		this.vaildStartTime = vaildStartTime;
	}

	public Date getVaildEndTime() {
		return vaildEndTime;
	}

	public void setVaildEndTime(Date vaildEndTime) {
		this.vaildEndTime = vaildEndTime;
	}

	public String getAgencyName() {
		return agencyName;
	}

	public void setAgencyName(String agencyName) {
		this.agencyName = agencyName;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reportId", getReportId())
            .append("reportName", getReportName())
            .append("reportNumber", getReportNumber())
            .append("checkName", getCheckName())
            .append("itemName", getItemName())
            .append("itemAddress", getItemAddress())
            .append("tradeProperty", getTradeProperty())
            .append("thunderCategory", getThunderCategory())
            .append("searchCycle", getSearchCycle())
            .append("contacts", getContacts())
            .append("contactsPhone", getContactsPhone())
            .append("detectionYear", getDetectionYear())
            .append("detectionDate", getDetectionDate())
            .append("detectionDateEnd", getDetectionDateEnd())
            .append("detectionVerdict", getDetectionVerdict())
            .append("detectionId", getDetectionId())
            .append("detectionName", getDetectionName())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
			.append("flzddwId", getFlzddwId())
			.append("startTime", getStartTime())
			.append("endTime", getEndTime())
			.append("VaildStartTime", getVaildStartTime())
			.append("VaildEndTime", getVaildEndTime())
			.append("agencyName", getAgencyName())
			.append("code", getCode())

            .toString();
    }
}
